AATXT\App\Admin\PluginOptions A

Total Complexity 58
Dependencies 6
Dependents 6
Total lines 543
Lines of code 363
Logical lines of code 215
Comment lines 75
Methods 26
Properties 2

Methods 26

Method Rating Maintainability Complexity Lines of code
optionsMainPage()
A
28
8 161
showEncryptionConstantsNotice()
A
46 8 42
encryptionErrorNotice()
S
52 5 24
enqueueAdminScripts()
S
60 4 12
migrateEncryptionKeys()
S
63 4 11
selected()
S
69 4 6
logOptionsPage()
S
55 2 22
register()
S
58 2 15
languageAzureTranslateInstance()
S
79 2 3
openAiModel()
S
79 2 3
encryptDataOnUpdate()
S
71 2 6
setupPluginOptions()
S
60 1 13
endpointAzureTranslateInstance()
S
80 1 3
sanitizeUrl()
S
80 1 3
sanitizeText()
S
80 1 3
preserveExistingAltText()
S
80 1 3
regionAzureTranslateInstance()
S
80 1 3
__construct()
S
91 1 2
apiKeyAzureTranslateInstance()
S
75 1 4
endpointAzureComputerVision()
S
80 1 3
apiKeyAzureComputerVision()
S
75 1 4
apiKeyOpenAI()
S
75 1 4
prompt()
S
80 1 3
typology()
S
80 1 3
addOptionsPageToTheMenu()
S
72 1 4
sanitizeTextArea()
S
80 1 3